package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 临时活动报名人信息
 */
@MappingTable(tableName = "ERP_ACTIVITY_USER")
public class ActivityUser extends BaseObject {

	private static final long serialVersionUID = 4341070906217817844L;

	@MappingColumn(columnName = "ACTIVITY_USER_ID", columnPk = true, columnLength = 32)
	private String activityUserId; // 报名人ID

	@MappingColumn(columnName = "ACTIVITY_USER_NAME")
	private String activityUserName; // 报名人姓名

	@MappingColumn(columnName = "ACTIVITY_USER_MOBILE")
	private String activityUserMobile; // 报名人电话

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@MappingColumn(columnName = "ACTIVITY_USER_CREATE_TIME")
	private Date activityUserCreateTime; // 报名时间

	@MappingColumn(columnName = "ACTIVITY_USER_STATE")
	private Integer activityUserSate; // 处理状态（0：未处理 1：已处理）

	public String getActivityUserId() {
		return activityUserId;
	}

	public void setActivityUserId(String activityUserId) {
		this.activityUserId = activityUserId;
	}

	public String getActivityUserName() {
		return activityUserName;
	}

	public void setActivityUserName(String activityUserName) {
		this.activityUserName = activityUserName;
	}

	public String getActivityUserMobile() {
		return activityUserMobile;
	}

	public void setActivityUserMobile(String activityUserMobile) {
		this.activityUserMobile = activityUserMobile;
	}

	public Date getActivityUserCreateTime() {
		return activityUserCreateTime;
	}

	public void setActivityUserCreateTime(Date activityUserCreateTime) {
		this.activityUserCreateTime = activityUserCreateTime;
	}

	public Integer getActivityUserSate() {
		return activityUserSate;
	}

	public void setActivityUserSate(Integer activityUserSate) {
		this.activityUserSate = activityUserSate;
	}
}
